//
//  DataService.m
//  卢卡的时光网
//
//  Created by 卡神 on 15/7/21.
//  Copyright © 2015年 lok. All rights reserved.
//

#import "DataService.h"

@implementation DataService

+ (id)readJsonFlieWithNamed:(NSString *)name {
    NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"json"];
    id temp = [NSJSONSerialization JSONObjectWithData:[NSData dataWithContentsOfFile:path] options:NSJSONReadingMutableContainers error:nil];
    return temp;
}

@end
